package com.leyou.domain.db1entity;

import com.alibaba.fastjson.annotation.JSONField;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

public class TableCell implements Serializable {
    private static final long serialVersionUID = -5031359662326321729L;

    private String cellkey;

    @NotBlank
    @JSONField(name = "cell_type")
    private String celltype;

    @JSONField(name = "coupon_key")
    private String couponkey;

    private Integer quota;

    private Integer count;

    private Integer total;

    private Integer duration;

    private String goodsname;

    @NotBlank
    @JSONField(name = "activity_key")
    private String activitykey;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date deadline;

    private Integer probability;

    @JSONField(name = "max_get")
    private Integer maxGet;

    @JSONField(name = "end_type")
    private String endType;

    private Integer prizeorder;

    private String prizepictureurl;

    public String getCellkey() {
        return cellkey;
    }

    public void setCellkey(String cellkey) {
        this.cellkey = cellkey;
    }

    public String getCelltype() {
        return celltype;
    }

    public void setCelltype(String celltype) {
        this.celltype = celltype;
    }

    public String getCouponkey() {
        return couponkey;
    }

    public void setCouponkey(String couponkey) {
        this.couponkey = couponkey;
    }

    public Integer getQuota() {
        return quota;
    }

    public void setQuota(Integer quota) {
        this.quota = quota;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getActivitykey() {
        return activitykey;
    }

    public void setActivitykey(String activitykey) {
        this.activitykey = activitykey;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public Integer getProbability() {
        return probability;
    }

    public void setProbability(Integer probability) {
        this.probability = probability;
    }

    public Integer getMaxGet() {
        return maxGet;
    }

    public void setMaxGet(Integer maxGet) {
        this.maxGet = maxGet;
    }

    public String getEndType() {
        return endType;
    }

    public void setEndType(String endType) {
        this.endType = endType;
    }

    public Integer getPrizeorder() {
        return prizeorder;
    }

    public void setPrizeorder(Integer prizeorder) {
        this.prizeorder = prizeorder;
    }

    public String getPrizepictureurl() {
        return prizepictureurl;
    }

    public void setPrizepictureurl(String prizepictureurl) {
        this.prizepictureurl = prizepictureurl;
    }
}
